package com.geovis.emergency.spd.entity.basic.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 *  共享文档目录保存DTO
 * </p>
 *
 * @author Lonsho
 * @version 1.0
 * @date 2022/7/12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "BasicShareFolderSaveDTO", description = "共享文档目录保存DTO")
public class BasicShareFolderUpdateDTO extends BasicShareFolderSaveDTO{

    @NotBlank(message = "主键id不能为空")
    @Length(max = 64, message = "主键id最长不能超过{64}个字符")
    @ApiModelProperty(value = "主键id",required = true)
    private String id;
}
